<?php
class Service_Model_GalDic
{
    /**
     * JSON-RPC service to galdic
     * 
     * @param string $q
     * @return object
     */
    public function query($q)
    {
        $model = new Model_Terms();
        $result = $model->getDefinitions($q);                
        
        return $result;
    }        
}
